conflict with php zend libs and c++ libs(ctime) to build extension for php [migrated]
Posted
by
user69800
on Programmers
See other posts from Programmers
or by user69800
Published on 2012-10-24T07:50:40Z
Indexed on
2012/10/24
11:16 UTC
Read the original article
Hit count: 291
Im going to build an extension for PHP 5.3.x
everything is OK when I build without vc++ lib.
error C2039: 'clock_t' : is not a member of '`global namespace''
error C2873: 'clock_t' : symbol cannot be used in a using-declaration
error C2039: 'asctime' : is not a member of '`global namespace''
error C2873: 'asctime' : symbol cannot be used in a using-declaration
and...
I include just and got this error. I know this problem is from my include header file in properties that required from PHP zend engine, But I do not know how solve this problem. thanks
© Programmers or respective owner